package com.shijunhao.graduation.domain.dto;

import com.shijunhao.graduation.annotations.WrapperCondition;
import com.shijunhao.graduation.enums.SqlSymbol;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * @author: shijunhao
 * @date: 2022/3/31 16:39
 * @description:
 */
@ApiModel("文章查询实体")
public class BusinessNoteQueryDto {

    @ApiModelProperty(name="主键",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Long id;

    @ApiModelProperty("标题")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String title;


    @ApiModelProperty("类型")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Integer type;

    @ApiModelProperty("标记")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String mark;

    @ApiModelProperty("创建时间")
    @WrapperCondition(condition = SqlSymbol.BETWEEN)
    private List<Date> createDate;

    public List<Date> getCreateDate() {
        return createDate;
    }

    public void setCreateDate(List<Date> createDate) {
        this.createDate = createDate;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

}
